package flights.bi;

import java.sql.Date;

public class Flight {
	int flight_id;
	int airline_id;
	String flight_number;
	String depart_airport;
	String arrival_airport;
	Date depart_date;
	Date arrive_date;
	
	

	public Flight(int flight_id, int airline_id, String flight_number,
			String depart_airport, String arrival_airport, Date depart_date,
			Date arrive_date) {
		super();
		this.flight_id = flight_id;
		this.airline_id = airline_id;
		this.flight_number = flight_number;
		this.depart_airport = depart_airport;
		this.arrival_airport = arrival_airport;
		this.depart_date = depart_date;
		this.arrive_date = arrive_date;
	}

	public Flight(int airline_id, String flight_number,
			String depart_airport, String arrival_airport, Date depart_date,
			Date arrive_date) {
		super();
		this.flight_id = -1;
		this.airline_id = airline_id;
		this.flight_number = flight_number;
		this.depart_airport = depart_airport;
		this.arrival_airport = arrival_airport;
		this.depart_date = depart_date;
		this.arrive_date = arrive_date;
	}
	
	public int getFlight_id() {
		return flight_id;
	}

	public void setFlight_id(int flight_id) {
		this.flight_id = flight_id;
	}

	public int getAirline_id() {
		return airline_id;
	}

	public void setAirline_id(int airline_id) {
		this.airline_id = airline_id;
	}

	public String getFlight_number() {
		return flight_number;
	}

	public void setFlight_number(String flight_number) {
		this.flight_number = flight_number;
	}

	public String getDepart_airport() {
		return depart_airport;
	}

	public void setDepart_airport(String depart_airport) {
		this.depart_airport = depart_airport;
	}

	public String getArrival_airport() {
		return arrival_airport;
	}

	public void setArrival_airport(String arrival_airport) {
		this.arrival_airport = arrival_airport;
	}

	public Date getDepart_date() {
		return depart_date;
	}

	public void setDepart_date(Date depart_date) {
		this.depart_date = depart_date;
	}

	public Date getArrive_date() {
		return arrive_date;
	}

	public void setArrive_date(Date arrive_date) {
		this.arrive_date = arrive_date;
	}
	
	
}
